package com.tianyi.dao.entity.classify;

import java.io.Serializable;
import java.util.Date;

public class Classify implements Serializable {
    /**
     * id
     * 表字段 ：id
     *
     * @mbg.generated Thu Jun 04 21:29:41 CST 2020
     */
    private Long id;

    /**
     * 创建时间
     * 表字段 ：gmt_create
     *
     * @mbg.generated Thu Jun 04 21:29:41 CST 2020
     */
    private Date gmtCreate;

    /**
     * 修改时间
     * 表字段 ：gmt_modified
     *
     * @mbg.generated Thu Jun 04 21:29:41 CST 2020
     */
    private Date gmtModified;

    /**
     * 分类名称
     * 表字段 ：classify_name
     *
     * @mbg.generated Thu Jun 04 21:29:41 CST 2020
     */
    private String classifyName;

    /**
     * 分类code
     * 表字段 ：classify_code
     *
     * @mbg.generated Thu Jun 04 21:29:41 CST 2020
     */
    private String classifyCode;

    /**
     * 分类说明
     * 表字段 ：classify_content
     *
     * @mbg.generated Thu Jun 04 21:29:41 CST 2020
     */
    private String classifyContent;

    /**
     * 操作人
     * 表字段 ：operator
     *
     * @mbg.generated Thu Jun 04 21:29:41 CST 2020
     */
    private Long operator;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table classify
     *
     * @mbg.generated Thu Jun 04 21:29:41 CST 2020
     */
    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table classify
     *
     * @mbg.generated Thu Jun 04 21:29:41 CST 2020
     */
    public Classify withId(Long id) {
        this.setId(id);
        return this;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table classify
     *
     * @mbg.generated Thu Jun 04 21:29:41 CST 2020
     */
    public Classify withGmtCreate(Date gmtCreate) {
        this.setGmtCreate(gmtCreate);
        return this;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table classify
     *
     * @mbg.generated Thu Jun 04 21:29:41 CST 2020
     */
    public Classify withGmtModified(Date gmtModified) {
        this.setGmtModified(gmtModified);
        return this;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getClassifyName() {
        return classifyName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table classify
     *
     * @mbg.generated Thu Jun 04 21:29:41 CST 2020
     */
    public Classify withClassifyName(String classifyName) {
        this.setClassifyName(classifyName);
        return this;
    }

    public void setClassifyName(String classifyName) {
        this.classifyName = classifyName == null ? null : classifyName.trim();
    }

    public String getClassifyCode() {
        return classifyCode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table classify
     *
     * @mbg.generated Thu Jun 04 21:29:41 CST 2020
     */
    public Classify withClassifyCode(String classifyCode) {
        this.setClassifyCode(classifyCode);
        return this;
    }

    public void setClassifyCode(String classifyCode) {
        this.classifyCode = classifyCode == null ? null : classifyCode.trim();
    }

    public String getClassifyContent() {
        return classifyContent;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table classify
     *
     * @mbg.generated Thu Jun 04 21:29:41 CST 2020
     */
    public Classify withClassifyContent(String classifyContent) {
        this.setClassifyContent(classifyContent);
        return this;
    }

    public void setClassifyContent(String classifyContent) {
        this.classifyContent = classifyContent == null ? null : classifyContent.trim();
    }

    public Long getOperator() {
        return operator;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table classify
     *
     * @mbg.generated Thu Jun 04 21:29:41 CST 2020
     */
    public Classify withOperator(Long operator) {
        this.setOperator(operator);
        return this;
    }

    public void setOperator(Long operator) {
        this.operator = operator;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table classify
     *
     * @mbg.generated Thu Jun 04 21:29:41 CST 2020
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", gmtCreate=").append(gmtCreate);
        sb.append(", gmtModified=").append(gmtModified);
        sb.append(", classifyName=").append(classifyName);
        sb.append(", classifyCode=").append(classifyCode);
        sb.append(", classifyContent=").append(classifyContent);
        sb.append(", operator=").append(operator);
        sb.append("]");
        return sb.toString();
    }
}